\(\int \frac {(c+d \sin (e+f x))^{5/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx\) [588]

   Optimal result
   Rubi [A] (verified)
   Mathematica [C] (warning: unable to verify)
   Maple [F]
   Fricas [B] (verification not implemented)
   Sympy [F(-1)]
   Maxima [F]
   Giac [F(-1)]
   Mupad [F(-1)]

Optimal result

Integrand size = 29, antiderivative size = 243 \[ \int \frac {(c+d \sin (e+f x))^{5/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=-\frac {\sqrt {d} \left (15 c^2-10 c d+7 d^2\right ) \arctan \left (\frac {\sqrt {3} \sqrt {d} \cos (e+f x)}{\sqrt {3+3 \sin (e+f x)} \sqrt {c+d \sin (e+f x)}}\right )}{4 \sqrt {3} f}-\frac {\sqrt {\frac {2}{3}} (c-d)^{5/2} \text {arctanh}\left (\frac {\sqrt {\frac {3}{2}} \sqrt {c-d} \cos (e+f x)}{\sqrt {3+3 \sin (e+f x)} \sqrt {c+d \sin (e+f x)}}\right )}{f}-\frac {(7 c-d) d \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{4 f \sqrt {3+3 \sin (e+f x)}}-\frac {d \cos (e+f x) (c+d \sin (e+f x))^{3/2}}{2 f \sqrt {3+3 \sin (e+f x)}} \]

[Out]

-(c-d)^(5/2)*arctanh(1/2*cos(f*x+e)*a^(1/2)*(c-d)^(1/2)*2^(1/2)/(a+a*sin(f*x+e))^(1/2)/(c+d*sin(f*x+e))^(1/2))
*2^(1/2)/f/a^(1/2)-1/4*(15*c^2-10*c*d+7*d^2)*arctan(cos(f*x+e)*a^(1/2)*d^(1/2)/(a+a*sin(f*x+e))^(1/2)/(c+d*sin
(f*x+e))^(1/2))*d^(1/2)/f/a^(1/2)-1/2*d*cos(f*x+e)*(c+d*sin(f*x+e))^(3/2)/f/(a+a*sin(f*x+e))^(1/2)-1/4*(7*c-d)
*d*cos(f*x+e)*(c+d*sin(f*x+e))^(1/2)/f/(a+a*sin(f*x+e))^(1/2)

Rubi [A] (verified)

Time = 0.65 (sec) , antiderivative size = 249, normalized size of antiderivative = 1.02, number of steps used = 7, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.241, Rules used = {2857, 3062, 3061, 2861, 214, 2854, 211} \[ \int \frac {(c+d \sin (e+f x))^{5/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=-\frac {\sqrt {d} \left (15 c^2-10 c d+7 d^2\right ) \arctan \left (\frac {\sqrt {a} \sqrt {d} \cos (e+f x)}{\sqrt {a \sin (e+f x)+a} \sqrt {c+d \sin (e+f x)}}\right )}{4 \sqrt {a} f}-\frac {\sqrt {2} (c-d)^{5/2} \text {arctanh}\left (\frac {\sqrt {a} \sqrt {c-d} \cos (e+f x)}{\sqrt {2} \sqrt {a \sin (e+f x)+a} \sqrt {c+d \sin (e+f x)}}\right )}{\sqrt {a} f}-\frac {d \cos (e+f x) (c+d \sin (e+f x))^{3/2}}{2 f \sqrt {a \sin (e+f x)+a}}-\frac {d (7 c-d) \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{4 f \sqrt {a \sin (e+f x)+a}} \]

[In]

Int[(c + d*Sin[e + f*x])^(5/2)/Sqrt[a + a*Sin[e + f*x]],x]

[Out]

-1/4*(Sqrt[d]*(15*c^2 - 10*c*d + 7*d^2)*ArcTan[(Sqrt[a]*Sqrt[d]*Cos[e + f*x])/(Sqrt[a + a*Sin[e + f*x]]*Sqrt[c
 + d*Sin[e + f*x]])])/(Sqrt[a]*f) - (Sqrt[2]*(c - d)^(5/2)*ArcTanh[(Sqrt[a]*Sqrt[c - d]*Cos[e + f*x])/(Sqrt[2]
*Sqrt[a + a*Sin[e + f*x]]*Sqrt[c + d*Sin[e + f*x]])])/(Sqrt[a]*f) - ((7*c - d)*d*Cos[e + f*x]*Sqrt[c + d*Sin[e
 + f*x]])/(4*f*Sqrt[a + a*Sin[e + f*x]]) - (d*Cos[e + f*x]*(c + d*Sin[e + f*x])^(3/2))/(2*f*Sqrt[a + a*Sin[e +
 f*x]])

Rule 211

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/Rt[a/b, 2]], x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 214

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x/Rt[-a/b, 2]], x] /; FreeQ[{a, b},
x] && NegQ[a/b]

Rule 2854

Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]/Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]], x_Symbol] :> Dist[
-2*(b/f), Subst[Int[1/(b + d*x^2), x], x, b*(Cos[e + f*x]/(Sqrt[a + b*Sin[e + f*x]]*Sqrt[c + d*Sin[e + f*x]]))
], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]

Rule 2857

Int[((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_)/Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]], x_Symbol] :> Simp
[-2*d*Cos[e + f*x]*((c + d*Sin[e + f*x])^(n - 1)/(f*(2*n - 1)*Sqrt[a + b*Sin[e + f*x]])), x] - Dist[1/(b*(2*n
- 1)), Int[((c + d*Sin[e + f*x])^(n - 2)/Sqrt[a + b*Sin[e + f*x]])*Simp[a*c*d - b*(2*d^2*(n - 1) + c^2*(2*n -
1)) + d*(a*d - b*c*(4*n - 3))*Sin[e + f*x], x], x], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] &&
 EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && GtQ[n, 1] && IntegerQ[2*n]

Rule 2861

Int[1/(Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*Sqrt[(c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> D
ist[-2*(a/f), Subst[Int[1/(2*b^2 - (a*c - b*d)*x^2), x], x, b*(Cos[e + f*x]/(Sqrt[a + b*Sin[e + f*x]]*Sqrt[c +
 d*Sin[e + f*x]]))], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 -
 d^2, 0]

Rule 3061

Int[((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])/(Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*Sqrt[(c_.) + (d_.)*sin
[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Dist[(A*b - a*B)/b, Int[1/(Sqrt[a + b*Sin[e + f*x]]*Sqrt[c + d*Sin[e + f*
x]]), x], x] + Dist[B/b, Int[Sqrt[a + b*Sin[e + f*x]]/Sqrt[c + d*Sin[e + f*x]], x], x] /; FreeQ[{a, b, c, d, e
, f, A, B}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]

Rule 3062

Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])*((c_.) + (d_.)*sin[(e_
.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp[(-B)*Cos[e + f*x]*(a + b*Sin[e + f*x])^m*((c + d*Sin[e + f*x])^n/(f*
(m + n + 1))), x] + Dist[1/(b*(m + n + 1)), Int[(a + b*Sin[e + f*x])^m*(c + d*Sin[e + f*x])^(n - 1)*Simp[A*b*c
*(m + n + 1) + B*(a*c*m + b*d*n) + (A*b*d*(m + n + 1) + B*(a*d*m + b*c*n))*Sin[e + f*x], x], x], x] /; FreeQ[{
a, b, c, d, e, f, A, B, m}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && GtQ[n, 0] &&
(IntegerQ[n] || EqQ[m + 1/2, 0])

Rubi steps \begin{align*} \text {integral}& = -\frac {d \cos (e+f x) (c+d \sin (e+f x))^{3/2}}{2 f \sqrt {a+a \sin (e+f x)}}-\frac {\int \frac {\sqrt {c+d \sin (e+f x)} \left (-a \left (4 c^2-c d+3 d^2\right )-a (7 c-d) d \sin (e+f x)\right )}{\sqrt {a+a \sin (e+f x)}} \, dx}{4 a} \\ & = -\frac {(7 c-d) d \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{4 f \sqrt {a+a \sin (e+f x)}}-\frac {d \cos (e+f x) (c+d \sin (e+f x))^{3/2}}{2 f \sqrt {a+a \sin (e+f x)}}-\frac {\int \frac {-\frac {1}{2} a^2 \left (8 c^3-9 c^2 d+14 c d^2-d^3\right )-\frac {1}{2} a^2 d \left (15 c^2-10 c d+7 d^2\right ) \sin (e+f x)}{\sqrt {a+a \sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \, dx}{4 a^2} \\ & = -\frac {(7 c-d) d \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{4 f \sqrt {a+a \sin (e+f x)}}-\frac {d \cos (e+f x) (c+d \sin (e+f x))^{3/2}}{2 f \sqrt {a+a \sin (e+f x)}}+(c-d)^3 \int \frac {1}{\sqrt {a+a \sin (e+f x)} \sqrt {c+d \sin (e+f x)}} \, dx+\frac {\left (d \left (15 c^2-10 c d+7 d^2\right )\right ) \int \frac {\sqrt {a+a \sin (e+f x)}}{\sqrt {c+d \sin (e+f x)}} \, dx}{8 a} \\ & = -\frac {(7 c-d) d \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{4 f \sqrt {a+a \sin (e+f x)}}-\frac {d \cos (e+f x) (c+d \sin (e+f x))^{3/2}}{2 f \sqrt {a+a \sin (e+f x)}}-\frac {\left (2 a (c-d)^3\right ) \text {Subst}\left (\int \frac {1}{2 a^2-(a c-a d) x^2} \, dx,x,\frac {a \cos (e+f x)}{\sqrt {a+a \sin (e+f x)} \sqrt {c+d \sin (e+f x)}}\right )}{f}-\frac {\left (d \left (15 c^2-10 c d+7 d^2\right )\right ) \text {Subst}\left (\int \frac {1}{a+d x^2} \, dx,x,\frac {a \cos (e+f x)}{\sqrt {a+a \sin (e+f x)} \sqrt {c+d \sin (e+f x)}}\right )}{4 f} \\ & = -\frac {\sqrt {d} \left (15 c^2-10 c d+7 d^2\right ) \arctan \left (\frac {\sqrt {a} \sqrt {d} \cos (e+f x)}{\sqrt {a+a \sin (e+f x)} \sqrt {c+d \sin (e+f x)}}\right )}{4 \sqrt {a} f}-\frac {\sqrt {2} (c-d)^{5/2} \text {arctanh}\left (\frac {\sqrt {a} \sqrt {c-d} \cos (e+f x)}{\sqrt {2} \sqrt {a+a \sin (e+f x)} \sqrt {c+d \sin (e+f x)}}\right )}{\sqrt {a} f}-\frac {(7 c-d) d \cos (e+f x) \sqrt {c+d \sin (e+f x)}}{4 f \sqrt {a+a \sin (e+f x)}}-\frac {d \cos (e+f x) (c+d \sin (e+f x))^{3/2}}{2 f \sqrt {a+a \sin (e+f x)}} \\ \end{align*}

Mathematica [C] (warning: unable to verify)

Result contains complex when optimal does not.

Time = 15.47 (sec) , antiderivative size = 1893, normalized size of antiderivative = 7.79 \[ \int \frac {(c+d \sin (e+f x))^{5/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=\frac {\left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {c+d \sin (e+f x)} \left (\frac {1}{4} d (-9 c+2 d) \cos \left (\frac {1}{2} (e+f x)\right )-\frac {1}{4} d^2 \cos \left (\frac {3}{2} (e+f x)\right )-\frac {1}{4} d (-9 c+2 d) \sin \left (\frac {1}{2} (e+f x)\right )-\frac {1}{4} d^2 \sin \left (\frac {3}{2} (e+f x)\right )\right )}{f \sqrt {3+3 \sin (e+f x)}}+\frac {\left (\sqrt {2} (c-d)^{5/2} \log \left (1+\tan \left (\frac {1}{2} (e+f x)\right )\right )-\sqrt {2} (c-d)^{5/2} \log \left (c-d+2 \sqrt {c-d} \sqrt {\frac {1}{1+\cos (e+f x)}} \sqrt {c+d \sin (e+f x)}+(-c+d) \tan \left (\frac {1}{2} (e+f x)\right )\right )-\frac {1}{8} i \sqrt {d} \left (15 c^2-10 c d+7 d^2\right ) \log \left (\frac {2 \left (c-i \left (d+(1+i) \sqrt {2} \sqrt {d} \sqrt {\frac {1}{1+\cos (e+f x)}} \sqrt {c+d \sin (e+f x)}\right )+(-i c+d) \tan \left (\frac {1}{2} (e+f x)\right )\right )}{d^{3/2} \left (15 c^2-10 c d+7 d^2\right ) \left (i+\tan \left (\frac {1}{2} (e+f x)\right )\right )}\right )+\frac {1}{8} i \sqrt {d} \left (15 c^2-10 c d+7 d^2\right ) \log \left (\frac {2 \left (c+i d+(1+i) \sqrt {2} \sqrt {d} \sqrt {\frac {1}{1+\cos (e+f x)}} \sqrt {c+d \sin (e+f x)}+(i c+d) \tan \left (\frac {1}{2} (e+f x)\right )\right )}{d^{3/2} \left (15 c^2-10 c d+7 d^2\right ) \left (-i+\tan \left (\frac {1}{2} (e+f x)\right )\right )}\right )\right ) \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) \left (\frac {c^3}{\left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {c+d \sin (e+f x)}}-\frac {9 c^2 d}{8 \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {c+d \sin (e+f x)}}+\frac {7 c d^2}{4 \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {c+d \sin (e+f x)}}-\frac {d^3}{8 \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {c+d \sin (e+f x)}}+\frac {15 c^2 d \sin (e+f x)}{8 \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {c+d \sin (e+f x)}}-\frac {5 c d^2 \sin (e+f x)}{4 \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {c+d \sin (e+f x)}}+\frac {7 d^3 \sin (e+f x)}{8 \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sqrt {c+d \sin (e+f x)}}\right )}{f \sqrt {3+3 \sin (e+f x)} \left (\frac {(c-d)^{5/2} \sec ^2\left (\frac {1}{2} (e+f x)\right )}{\sqrt {2} \left (1+\tan \left (\frac {1}{2} (e+f x)\right )\right )}-\frac {\sqrt {2} (c-d)^{5/2} \left (\frac {1}{2} (-c+d) \sec ^2\left (\frac {1}{2} (e+f x)\right )+\frac {\sqrt {c-d} d \cos (e+f x) \sqrt {\frac {1}{1+\cos (e+f x)}}}{\sqrt {c+d \sin (e+f x)}}+\sqrt {c-d} \left (\frac {1}{1+\cos (e+f x)}\right )^{3/2} \sin (e+f x) \sqrt {c+d \sin (e+f x)}\right )}{c-d+2 \sqrt {c-d} \sqrt {\frac {1}{1+\cos (e+f x)}} \sqrt {c+d \sin (e+f x)}+(-c+d) \tan \left (\frac {1}{2} (e+f x)\right )}-\frac {i d^2 \left (15 c^2-10 c d+7 d^2\right )^2 \left (i+\tan \left (\frac {1}{2} (e+f x)\right )\right ) \left (\frac {2 \left (\frac {1}{2} (-i c+d) \sec ^2\left (\frac {1}{2} (e+f x)\right )-i \left (\frac {(1+i) d^{3/2} \cos (e+f x) \sqrt {\frac {1}{1+\cos (e+f x)}}}{\sqrt {2} \sqrt {c+d \sin (e+f x)}}+\frac {(1+i) \sqrt {d} \left (\frac {1}{1+\cos (e+f x)}\right )^{3/2} \sin (e+f x) \sqrt {c+d \sin (e+f x)}}{\sqrt {2}}\right )\right )}{d^{3/2} \left (15 c^2-10 c d+7 d^2\right ) \left (i+\tan \left (\frac {1}{2} (e+f x)\right )\right )}-\frac {\sec ^2\left (\frac {1}{2} (e+f x)\right ) \left (c-i \left (d+(1+i) \sqrt {2} \sqrt {d} \sqrt {\frac {1}{1+\cos (e+f x)}} \sqrt {c+d \sin (e+f x)}\right )+(-i c+d) \tan \left (\frac {1}{2} (e+f x)\right )\right )}{d^{3/2} \left (15 c^2-10 c d+7 d^2\right ) \left (i+\tan \left (\frac {1}{2} (e+f x)\right )\right )^2}\right )}{16 \left (c-i \left (d+(1+i) \sqrt {2} \sqrt {d} \sqrt {\frac {1}{1+\cos (e+f x)}} \sqrt {c+d \sin (e+f x)}\right )+(-i c+d) \tan \left (\frac {1}{2} (e+f x)\right )\right )}+\frac {i d^2 \left (15 c^2-10 c d+7 d^2\right )^2 \left (-i+\tan \left (\frac {1}{2} (e+f x)\right )\right ) \left (\frac {2 \left (\frac {1}{2} (i c+d) \sec ^2\left (\frac {1}{2} (e+f x)\right )+\frac {(1+i) d^{3/2} \cos (e+f x) \sqrt {\frac {1}{1+\cos (e+f x)}}}{\sqrt {2} \sqrt {c+d \sin (e+f x)}}+\frac {(1+i) \sqrt {d} \left (\frac {1}{1+\cos (e+f x)}\right )^{3/2} \sin (e+f x) \sqrt {c+d \sin (e+f x)}}{\sqrt {2}}\right )}{d^{3/2} \left (15 c^2-10 c d+7 d^2\right ) \left (-i+\tan \left (\frac {1}{2} (e+f x)\right )\right )}-\frac {\sec ^2\left (\frac {1}{2} (e+f x)\right ) \left (c+i d+(1+i) \sqrt {2} \sqrt {d} \sqrt {\frac {1}{1+\cos (e+f x)}} \sqrt {c+d \sin (e+f x)}+(i c+d) \tan \left (\frac {1}{2} (e+f x)\right )\right )}{d^{3/2} \left (15 c^2-10 c d+7 d^2\right ) \left (-i+\tan \left (\frac {1}{2} (e+f x)\right )\right )^2}\right )}{16 \left (c+i d+(1+i) \sqrt {2} \sqrt {d} \sqrt {\frac {1}{1+\cos (e+f x)}} \sqrt {c+d \sin (e+f x)}+(i c+d) \tan \left (\frac {1}{2} (e+f x)\right )\right )}\right )} \]

[In]

Integrate[(c + d*Sin[e + f*x])^(5/2)/Sqrt[3 + 3*Sin[e + f*x]],x]

[Out]

((Cos[(e + f*x)/2] + Sin[(e + f*x)/2])*Sqrt[c + d*Sin[e + f*x]]*((d*(-9*c + 2*d)*Cos[(e + f*x)/2])/4 - (d^2*Co
s[(3*(e + f*x))/2])/4 - (d*(-9*c + 2*d)*Sin[(e + f*x)/2])/4 - (d^2*Sin[(3*(e + f*x))/2])/4))/(f*Sqrt[3 + 3*Sin
[e + f*x]]) + ((Sqrt[2]*(c - d)^(5/2)*Log[1 + Tan[(e + f*x)/2]] - Sqrt[2]*(c - d)^(5/2)*Log[c - d + 2*Sqrt[c -
 d]*Sqrt[(1 + Cos[e + f*x])^(-1)]*Sqrt[c + d*Sin[e + f*x]] + (-c + d)*Tan[(e + f*x)/2]] - (I/8)*Sqrt[d]*(15*c^
2 - 10*c*d + 7*d^2)*Log[(2*(c - I*(d + (1 + I)*Sqrt[2]*Sqrt[d]*Sqrt[(1 + Cos[e + f*x])^(-1)]*Sqrt[c + d*Sin[e
+ f*x]]) + ((-I)*c + d)*Tan[(e + f*x)/2]))/(d^(3/2)*(15*c^2 - 10*c*d + 7*d^2)*(I + Tan[(e + f*x)/2]))] + (I/8)
*Sqrt[d]*(15*c^2 - 10*c*d + 7*d^2)*Log[(2*(c + I*d + (1 + I)*Sqrt[2]*Sqrt[d]*Sqrt[(1 + Cos[e + f*x])^(-1)]*Sqr
t[c + d*Sin[e + f*x]] + (I*c + d)*Tan[(e + f*x)/2]))/(d^(3/2)*(15*c^2 - 10*c*d + 7*d^2)*(-I + Tan[(e + f*x)/2]
))])*(Cos[(e + f*x)/2] + Sin[(e + f*x)/2])*(c^3/((Cos[(e + f*x)/2] + Sin[(e + f*x)/2])*Sqrt[c + d*Sin[e + f*x]
]) - (9*c^2*d)/(8*(Cos[(e + f*x)/2] + Sin[(e + f*x)/2])*Sqrt[c + d*Sin[e + f*x]]) + (7*c*d^2)/(4*(Cos[(e + f*x
)/2] + Sin[(e + f*x)/2])*Sqrt[c + d*Sin[e + f*x]]) - d^3/(8*(Cos[(e + f*x)/2] + Sin[(e + f*x)/2])*Sqrt[c + d*S
in[e + f*x]]) + (15*c^2*d*Sin[e + f*x])/(8*(Cos[(e + f*x)/2] + Sin[(e + f*x)/2])*Sqrt[c + d*Sin[e + f*x]]) - (
5*c*d^2*Sin[e + f*x])/(4*(Cos[(e + f*x)/2] + Sin[(e + f*x)/2])*Sqrt[c + d*Sin[e + f*x]]) + (7*d^3*Sin[e + f*x]
)/(8*(Cos[(e + f*x)/2] + Sin[(e + f*x)/2])*Sqrt[c + d*Sin[e + f*x]])))/(f*Sqrt[3 + 3*Sin[e + f*x]]*(((c - d)^(
5/2)*Sec[(e + f*x)/2]^2)/(Sqrt[2]*(1 + Tan[(e + f*x)/2])) - (Sqrt[2]*(c - d)^(5/2)*(((-c + d)*Sec[(e + f*x)/2]
^2)/2 + (Sqrt[c - d]*d*Cos[e + f*x]*Sqrt[(1 + Cos[e + f*x])^(-1)])/Sqrt[c + d*Sin[e + f*x]] + Sqrt[c - d]*((1
+ Cos[e + f*x])^(-1))^(3/2)*Sin[e + f*x]*Sqrt[c + d*Sin[e + f*x]]))/(c - d + 2*Sqrt[c - d]*Sqrt[(1 + Cos[e + f
*x])^(-1)]*Sqrt[c + d*Sin[e + f*x]] + (-c + d)*Tan[(e + f*x)/2]) - ((I/16)*d^2*(15*c^2 - 10*c*d + 7*d^2)^2*(I
+ Tan[(e + f*x)/2])*((2*((((-I)*c + d)*Sec[(e + f*x)/2]^2)/2 - I*(((1 + I)*d^(3/2)*Cos[e + f*x]*Sqrt[(1 + Cos[
e + f*x])^(-1)])/(Sqrt[2]*Sqrt[c + d*Sin[e + f*x]]) + ((1 + I)*Sqrt[d]*((1 + Cos[e + f*x])^(-1))^(3/2)*Sin[e +
 f*x]*Sqrt[c + d*Sin[e + f*x]])/Sqrt[2])))/(d^(3/2)*(15*c^2 - 10*c*d + 7*d^2)*(I + Tan[(e + f*x)/2])) - (Sec[(
e + f*x)/2]^2*(c - I*(d + (1 + I)*Sqrt[2]*Sqrt[d]*Sqrt[(1 + Cos[e + f*x])^(-1)]*Sqrt[c + d*Sin[e + f*x]]) + ((
-I)*c + d)*Tan[(e + f*x)/2]))/(d^(3/2)*(15*c^2 - 10*c*d + 7*d^2)*(I + Tan[(e + f*x)/2])^2)))/(c - I*(d + (1 +
I)*Sqrt[2]*Sqrt[d]*Sqrt[(1 + Cos[e + f*x])^(-1)]*Sqrt[c + d*Sin[e + f*x]]) + ((-I)*c + d)*Tan[(e + f*x)/2]) +
((I/16)*d^2*(15*c^2 - 10*c*d + 7*d^2)^2*(-I + Tan[(e + f*x)/2])*((2*(((I*c + d)*Sec[(e + f*x)/2]^2)/2 + ((1 +
I)*d^(3/2)*Cos[e + f*x]*Sqrt[(1 + Cos[e + f*x])^(-1)])/(Sqrt[2]*Sqrt[c + d*Sin[e + f*x]]) + ((1 + I)*Sqrt[d]*(
(1 + Cos[e + f*x])^(-1))^(3/2)*Sin[e + f*x]*Sqrt[c + d*Sin[e + f*x]])/Sqrt[2]))/(d^(3/2)*(15*c^2 - 10*c*d + 7*
d^2)*(-I + Tan[(e + f*x)/2])) - (Sec[(e + f*x)/2]^2*(c + I*d + (1 + I)*Sqrt[2]*Sqrt[d]*Sqrt[(1 + Cos[e + f*x])
^(-1)]*Sqrt[c + d*Sin[e + f*x]] + (I*c + d)*Tan[(e + f*x)/2]))/(d^(3/2)*(15*c^2 - 10*c*d + 7*d^2)*(-I + Tan[(e
 + f*x)/2])^2)))/(c + I*d + (1 + I)*Sqrt[2]*Sqrt[d]*Sqrt[(1 + Cos[e + f*x])^(-1)]*Sqrt[c + d*Sin[e + f*x]] + (
I*c + d)*Tan[(e + f*x)/2])))

Maple [F]

\[\int \frac {\left (c +d \sin \left (f x +e \right )\right )^{\frac {5}{2}}}{\sqrt {a +a \sin \left (f x +e \right )}}d x\]

[In]

int((c+d*sin(f*x+e))^(5/2)/(a+a*sin(f*x+e))^(1/2),x)

[Out]

int((c+d*sin(f*x+e))^(5/2)/(a+a*sin(f*x+e))^(1/2),x)

Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 480 vs. \(2 (208) = 416\).

Time = 0.79 (sec) , antiderivative size = 2925, normalized size of antiderivative = 12.04 \[ \int \frac {(c+d \sin (e+f x))^{5/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=\text {Too large to display} \]

[In]

integrate((c+d*sin(f*x+e))^(5/2)/(a+a*sin(f*x+e))^(1/2),x, algorithm="fricas")

[Out]

[1/32*(16*sqrt(2)*(a*c^2 - 2*a*c*d + a*d^2 + (a*c^2 - 2*a*c*d + a*d^2)*cos(f*x + e) + (a*c^2 - 2*a*c*d + a*d^2
)*sin(f*x + e))*sqrt((c - d)/a)*log((2*sqrt(2)*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c)*sqrt((c - d)/
a)*(cos(f*x + e) - sin(f*x + e) + 1) - (c - 3*d)*cos(f*x + e)^2 - (3*c - d)*cos(f*x + e) + ((c - 3*d)*cos(f*x
+ e) - 2*c - 2*d)*sin(f*x + e) - 2*c - 2*d)/(cos(f*x + e)^2 - (cos(f*x + e) + 2)*sin(f*x + e) - cos(f*x + e) -
 2)) + (15*a*c^2 - 10*a*c*d + 7*a*d^2 + (15*a*c^2 - 10*a*c*d + 7*a*d^2)*cos(f*x + e) + (15*a*c^2 - 10*a*c*d +
7*a*d^2)*sin(f*x + e))*sqrt(-d/a)*log((128*d^4*cos(f*x + e)^5 + 128*(2*c*d^3 - d^4)*cos(f*x + e)^4 + c^4 + 4*c
^3*d + 6*c^2*d^2 + 4*c*d^3 + d^4 - 32*(5*c^2*d^2 - 14*c*d^3 + 13*d^4)*cos(f*x + e)^3 - 32*(c^3*d - 2*c^2*d^2 +
 9*c*d^3 - 4*d^4)*cos(f*x + e)^2 - 8*(16*d^3*cos(f*x + e)^4 + 24*(c*d^2 - d^3)*cos(f*x + e)^3 - c^3 + 17*c^2*d
 - 59*c*d^2 + 51*d^3 - 2*(5*c^2*d - 26*c*d^2 + 33*d^3)*cos(f*x + e)^2 - (c^3 - 7*c^2*d + 31*c*d^2 - 25*d^3)*co
s(f*x + e) + (16*d^3*cos(f*x + e)^3 + c^3 - 17*c^2*d + 59*c*d^2 - 51*d^3 - 8*(3*c*d^2 - 5*d^3)*cos(f*x + e)^2
- 2*(5*c^2*d - 14*c*d^2 + 13*d^3)*cos(f*x + e))*sin(f*x + e))*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c
)*sqrt(-d/a) + (c^4 - 28*c^3*d + 230*c^2*d^2 - 476*c*d^3 + 289*d^4)*cos(f*x + e) + (128*d^4*cos(f*x + e)^4 + c
^4 + 4*c^3*d + 6*c^2*d^2 + 4*c*d^3 + d^4 - 256*(c*d^3 - d^4)*cos(f*x + e)^3 - 32*(5*c^2*d^2 - 6*c*d^3 + 5*d^4)
*cos(f*x + e)^2 + 32*(c^3*d - 7*c^2*d^2 + 15*c*d^3 - 9*d^4)*cos(f*x + e))*sin(f*x + e))/(cos(f*x + e) + sin(f*
x + e) + 1)) - 8*(2*d^2*cos(f*x + e)^2 + 9*c*d - 3*d^2 + (9*c*d - d^2)*cos(f*x + e) + (2*d^2*cos(f*x + e) - 9*
c*d + 3*d^2)*sin(f*x + e))*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c))/(a*f*cos(f*x + e) + a*f*sin(f*x
+ e) + a*f), 1/16*(8*sqrt(2)*(a*c^2 - 2*a*c*d + a*d^2 + (a*c^2 - 2*a*c*d + a*d^2)*cos(f*x + e) + (a*c^2 - 2*a*
c*d + a*d^2)*sin(f*x + e))*sqrt((c - d)/a)*log((2*sqrt(2)*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c)*sq
rt((c - d)/a)*(cos(f*x + e) - sin(f*x + e) + 1) - (c - 3*d)*cos(f*x + e)^2 - (3*c - d)*cos(f*x + e) + ((c - 3*
d)*cos(f*x + e) - 2*c - 2*d)*sin(f*x + e) - 2*c - 2*d)/(cos(f*x + e)^2 - (cos(f*x + e) + 2)*sin(f*x + e) - cos
(f*x + e) - 2)) + (15*a*c^2 - 10*a*c*d + 7*a*d^2 + (15*a*c^2 - 10*a*c*d + 7*a*d^2)*cos(f*x + e) + (15*a*c^2 -
10*a*c*d + 7*a*d^2)*sin(f*x + e))*sqrt(d/a)*arctan(1/4*(8*d^2*cos(f*x + e)^2 - c^2 + 6*c*d - 9*d^2 - 8*(c*d -
d^2)*sin(f*x + e))*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c)*sqrt(d/a)/(2*d^3*cos(f*x + e)^3 - (3*c*d^
2 - d^3)*cos(f*x + e)*sin(f*x + e) - (c^2*d - c*d^2 + 2*d^3)*cos(f*x + e))) - 4*(2*d^2*cos(f*x + e)^2 + 9*c*d
- 3*d^2 + (9*c*d - d^2)*cos(f*x + e) + (2*d^2*cos(f*x + e) - 9*c*d + 3*d^2)*sin(f*x + e))*sqrt(a*sin(f*x + e)
+ a)*sqrt(d*sin(f*x + e) + c))/(a*f*cos(f*x + e) + a*f*sin(f*x + e) + a*f), -1/32*(32*sqrt(2)*(a*c^2 - 2*a*c*d
 + a*d^2 + (a*c^2 - 2*a*c*d + a*d^2)*cos(f*x + e) + (a*c^2 - 2*a*c*d + a*d^2)*sin(f*x + e))*sqrt(-(c - d)/a)*a
rctan(-sqrt(2)*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c)*sqrt(-(c - d)/a)/((c - d)*cos(f*x + e))) - (1
5*a*c^2 - 10*a*c*d + 7*a*d^2 + (15*a*c^2 - 10*a*c*d + 7*a*d^2)*cos(f*x + e) + (15*a*c^2 - 10*a*c*d + 7*a*d^2)*
sin(f*x + e))*sqrt(-d/a)*log((128*d^4*cos(f*x + e)^5 + 128*(2*c*d^3 - d^4)*cos(f*x + e)^4 + c^4 + 4*c^3*d + 6*
c^2*d^2 + 4*c*d^3 + d^4 - 32*(5*c^2*d^2 - 14*c*d^3 + 13*d^4)*cos(f*x + e)^3 - 32*(c^3*d - 2*c^2*d^2 + 9*c*d^3
- 4*d^4)*cos(f*x + e)^2 - 8*(16*d^3*cos(f*x + e)^4 + 24*(c*d^2 - d^3)*cos(f*x + e)^3 - c^3 + 17*c^2*d - 59*c*d
^2 + 51*d^3 - 2*(5*c^2*d - 26*c*d^2 + 33*d^3)*cos(f*x + e)^2 - (c^3 - 7*c^2*d + 31*c*d^2 - 25*d^3)*cos(f*x + e
) + (16*d^3*cos(f*x + e)^3 + c^3 - 17*c^2*d + 59*c*d^2 - 51*d^3 - 8*(3*c*d^2 - 5*d^3)*cos(f*x + e)^2 - 2*(5*c^
2*d - 14*c*d^2 + 13*d^3)*cos(f*x + e))*sin(f*x + e))*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c)*sqrt(-d
/a) + (c^4 - 28*c^3*d + 230*c^2*d^2 - 476*c*d^3 + 289*d^4)*cos(f*x + e) + (128*d^4*cos(f*x + e)^4 + c^4 + 4*c^
3*d + 6*c^2*d^2 + 4*c*d^3 + d^4 - 256*(c*d^3 - d^4)*cos(f*x + e)^3 - 32*(5*c^2*d^2 - 6*c*d^3 + 5*d^4)*cos(f*x
+ e)^2 + 32*(c^3*d - 7*c^2*d^2 + 15*c*d^3 - 9*d^4)*cos(f*x + e))*sin(f*x + e))/(cos(f*x + e) + sin(f*x + e) +
1)) + 8*(2*d^2*cos(f*x + e)^2 + 9*c*d - 3*d^2 + (9*c*d - d^2)*cos(f*x + e) + (2*d^2*cos(f*x + e) - 9*c*d + 3*d
^2)*sin(f*x + e))*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c))/(a*f*cos(f*x + e) + a*f*sin(f*x + e) + a*
f), -1/16*(16*sqrt(2)*(a*c^2 - 2*a*c*d + a*d^2 + (a*c^2 - 2*a*c*d + a*d^2)*cos(f*x + e) + (a*c^2 - 2*a*c*d + a
*d^2)*sin(f*x + e))*sqrt(-(c - d)/a)*arctan(-sqrt(2)*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c)*sqrt(-(
c - d)/a)/((c - d)*cos(f*x + e))) - (15*a*c^2 - 10*a*c*d + 7*a*d^2 + (15*a*c^2 - 10*a*c*d + 7*a*d^2)*cos(f*x +
 e) + (15*a*c^2 - 10*a*c*d + 7*a*d^2)*sin(f*x + e))*sqrt(d/a)*arctan(1/4*(8*d^2*cos(f*x + e)^2 - c^2 + 6*c*d -
 9*d^2 - 8*(c*d - d^2)*sin(f*x + e))*sqrt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c)*sqrt(d/a)/(2*d^3*cos(f*
x + e)^3 - (3*c*d^2 - d^3)*cos(f*x + e)*sin(f*x + e) - (c^2*d - c*d^2 + 2*d^3)*cos(f*x + e))) + 4*(2*d^2*cos(f
*x + e)^2 + 9*c*d - 3*d^2 + (9*c*d - d^2)*cos(f*x + e) + (2*d^2*cos(f*x + e) - 9*c*d + 3*d^2)*sin(f*x + e))*sq
rt(a*sin(f*x + e) + a)*sqrt(d*sin(f*x + e) + c))/(a*f*cos(f*x + e) + a*f*sin(f*x + e) + a*f)]

Sympy [F(-1)]

Timed out. \[ \int \frac {(c+d \sin (e+f x))^{5/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=\text {Timed out} \]

[In]

integrate((c+d*sin(f*x+e))**(5/2)/(a+a*sin(f*x+e))**(1/2),x)

[Out]

Timed out

Maxima [F]

\[ \int \frac {(c+d \sin (e+f x))^{5/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=\int { \frac {{\left (d \sin \left (f x + e\right ) + c\right )}^{\frac {5}{2}}}{\sqrt {a \sin \left (f x + e\right ) + a}} \,d x } \]

[In]

integrate((c+d*sin(f*x+e))^(5/2)/(a+a*sin(f*x+e))^(1/2),x, algorithm="maxima")

[Out]

integrate((d*sin(f*x + e) + c)^(5/2)/sqrt(a*sin(f*x + e) + a), x)

Giac [F(-1)]

Timed out. \[ \int \frac {(c+d \sin (e+f x))^{5/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=\text {Timed out} \]

[In]

integrate((c+d*sin(f*x+e))^(5/2)/(a+a*sin(f*x+e))^(1/2),x, algorithm="giac")

[Out]

Timed out

Mupad [F(-1)]

Timed out. \[ \int \frac {(c+d \sin (e+f x))^{5/2}}{\sqrt {3+3 \sin (e+f x)}} \, dx=\int \frac {{\left (c+d\,\sin \left (e+f\,x\right )\right )}^{5/2}}{\sqrt {a+a\,\sin \left (e+f\,x\right )}} \,d x \]

[In]

int((c + d*sin(e + f*x))^(5/2)/(a + a*sin(e + f*x))^(1/2),x)

[Out]

int((c + d*sin(e + f*x))^(5/2)/(a + a*sin(e + f*x))^(1/2), x)